Carbon


SetIconCacheData

Header: Icons.h Carbon status: Supported

Sets the data associated with an icon cache.

OSErr SetIconCacheData (
    IconCacheRef theCache, 
    void *theData
);
theCache

A handle to the icon cache whose data is to be set.

theData

A pointer to the data to set.

function result

A result code.

DISCUSSION

All the Icon Utilities functions that accept a handle to an icon suite also accept a handle to an icon cache.

SPECIAL CONSIDERATIONS

This function may move or purge memory blocks in the application heap. For that reason, your application should not call it at interrupt time.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)